<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: surface/include/pcl/surface/organized_fast_mesh.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('organized__fast__mesh_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">organized_fast_mesh.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Software License Agreement (BSD License)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *  Point Cloud Library (PCL) - www.pointclouds.org</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *  Copyright (c) 2011, Dirk Holz, University of Bonn.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *  Copyright (c) 2010-2011, Willow Garage, Inc.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *  All rights reserved.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *  modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *  are met:</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *   * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *     notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   * Redistributions in binary form must reproduce the above</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *     copyright notice, this list of conditions and the following</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *     disclaimer in the documentation and/or other materials provided</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *     with the distribution.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *   * Neither the name of Willow Garage, Inc. nor the names of its</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *     contributors may be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *     from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *  &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> *  POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * $Id$</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#ifndef PCL_SURFACE_ORGANIZED_FAST_MESH_H_</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#define PCL_SURFACE_ORGANIZED_FAST_MESH_H_</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="angles_8h.html">pcl/common/angles.h</a>&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &lt;pcl/surface/reconstruction.h&gt;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">namespace </span>pcl</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>InT&gt;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html">   65</a></span>&#160;  <span class="keyword">class </span><a class="code" href="classpcl_1_1_organized_fast_mesh.html">OrganizedFastMesh</a> : <span class="keyword">public</span> <a class="code" href="classpcl_1_1_mesh_construction.html">MeshConstruction</a>&lt;PointInT&gt;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      <span class="keyword">typedef</span> boost::shared_ptr&lt;OrganizedFastMesh&lt;PointInT&gt; &gt; Ptr;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;      <span class="keyword">typedef</span> boost::shared_ptr&lt;const OrganizedFastMesh&lt;PointInT&gt; &gt; ConstPtr;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;      <span class="keyword">using</span> <a class="code" href="classpcl_1_1_mesh_construction.html">MeshConstruction&lt;PointInT&gt;::input_</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;      <span class="keyword">using</span> <a class="code" href="classpcl_1_1_mesh_construction.html">MeshConstruction&lt;PointInT&gt;::check_tree_</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;      <span class="keyword">typedef</span> <span class="keyword">typename</span> pcl::PointCloud&lt;PointInT&gt;::Ptr PointCloudPtr;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;      <span class="keyword">typedef</span> std::vector&lt;pcl::Vertices&gt; Polygons;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;      <span class="keyword">enum</span> TriangulationType</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      {</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        TRIANGLE_RIGHT_CUT,     <span class="comment">// _always_ &quot;cuts&quot; a quad from top left to bottom right</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        TRIANGLE_LEFT_CUT,      <span class="comment">// _always_ &quot;cuts&quot; a quad from top right to bottom left</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        TRIANGLE_ADAPTIVE_CUT,  <span class="comment">// &quot;cuts&quot; where possible and prefers larger differences in &#39;z&#39; direction</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        QUAD_MESH               <span class="comment">// create a simple quad mesh</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;      };</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a58e1b0c042232642a82ec8b27d90386b">   87</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a58e1b0c042232642a82ec8b27d90386b">OrganizedFastMesh</a> ()</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      : <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">max_edge_length_a_</a> (0.0f)</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">max_edge_length_b_</a> (0.0f)</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">max_edge_length_c_</a> (0.0f)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">max_edge_length_set_</a> (false)</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6d92b9a626f91f9bd03ca1e2358b0309">max_edge_length_dist_dependent_</a> (false)</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a86b0075b9460f81f18f7520da3b7665f">triangle_pixel_size_rows_</a> (1)</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a572925f0cf2df7d64d36d97bd48fc69d">triangle_pixel_size_columns_</a> (1)</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ade2419a6deb03a67958f147fd6862329">triangulation_type_</a> (QUAD_MESH)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">viewpoint_</a> (Eigen::Vector3f::Zero ())</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a95887dcb79e61e9f9080f03052d6b95e">store_shadowed_faces_</a> (false)</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">cos_angle_tolerance_</a> (fabsf (cosf (pcl::<a class="code" href="group__common.html#ga25b0ce695e2a10abb0130bcb5cf90eb6">deg2rad</a> (12.5f))))</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a> (-1.0f)</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">distance_dependent_</a> (false)</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      , <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">use_depth_as_distance_</a>(false)</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;      {</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        <a class="code" href="classpcl_1_1_mesh_construction.html#af5ff8eafba1264fa83cdadd196b37361">check_tree_</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      };</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a5baedcee7cdab78236ce2027a8137cb7">  107</a></span>&#160;      <span class="keyword">virtual</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a5baedcee7cdab78236ce2027a8137cb7">~OrganizedFastMesh</a> () {};</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a87789a49d6f735267bda67f6701ad206">  117</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a87789a49d6f735267bda67f6701ad206">setMaxEdgeLength</a> (<span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b = 0.0f, <span class="keywordtype">float</span> c = 0.0f)</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;      {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">max_edge_length_a_</a> = a;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">max_edge_length_b_</a> = b;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">max_edge_length_c_</a> = c;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        <span class="keywordflow">if</span> ((<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">max_edge_length_a_</a> + <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">max_edge_length_b_</a> + <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">max_edge_length_c_</a>) &gt; std::numeric_limits&lt;float&gt;::min())</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;          <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">max_edge_length_set_</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;          <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">max_edge_length_set_</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;      };</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;      unsetMaxEdgeLength ()</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;      {</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">max_edge_length_set_</a>  = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;      }</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a745e7170a11c9860dd8920e8d212db07">  139</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a745e7170a11c9860dd8920e8d212db07">setTrianglePixelSize</a> (<span class="keywordtype">int</span> triangle_size)</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;      {</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8c9540f2e18be8d72d6fb11d912bd22c">setTrianglePixelSizeRows</a> (triangle_size);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab8fa19a842373ed2732360c02344d584">setTrianglePixelSizeColumns</a> (triangle_size);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;      }</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a8c9540f2e18be8d72d6fb11d912bd22c">  150</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8c9540f2e18be8d72d6fb11d912bd22c">setTrianglePixelSizeRows</a> (<span class="keywordtype">int</span> triangle_size)</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;      {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a86b0075b9460f81f18f7520da3b7665f">triangle_pixel_size_rows_</a> = std::max (1, (triangle_size - 1));</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;      }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#ab8fa19a842373ed2732360c02344d584">  160</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab8fa19a842373ed2732360c02344d584">setTrianglePixelSizeColumns</a> (<span class="keywordtype">int</span> triangle_size)</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;      {</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a572925f0cf2df7d64d36d97bd48fc69d">triangle_pixel_size_columns_</a> = std::max (1, (triangle_size - 1));</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;      }</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a6ed920ebda18de0896470da943bc7cc5">  170</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6ed920ebda18de0896470da943bc7cc5">setTriangulationType</a> (TriangulationType type)</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;      {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ade2419a6deb03a67958f147fd6862329">triangulation_type_</a> = type;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;      }</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a574d4db8bcd96173c6b48eb7bc49ad4f">  178</a></span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a574d4db8bcd96173c6b48eb7bc49ad4f">setViewpoint</a> (<span class="keyword">const</span> Eigen::Vector3f&amp; viewpoint)</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;      {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">viewpoint_</a> = viewpoint;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;      }</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a9baf96b8397f2dd15d797e594b9e4240">  184</a></span>&#160;      <span class="keyword">const</span> <span class="keyword">inline</span> Eigen::Vector3f&amp; <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a9baf96b8397f2dd15d797e594b9e4240">getViewpoint</a> ()<span class="keyword"> const</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="keyword">      </span>{</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">viewpoint_</a>;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;      }</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a58ce299182a05909db539a1d84f93ee5">  193</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a58ce299182a05909db539a1d84f93ee5">storeShadowedFaces</a> (<span class="keywordtype">bool</span> enable)</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;      {</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a95887dcb79e61e9f9080f03052d6b95e">store_shadowed_faces_</a> = enable;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;      }</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#ac2420fca246de67861071dadf39d7e63">  204</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ac2420fca246de67861071dadf39d7e63">setAngleTolerance</a>(<span class="keywordtype">float</span> angle_tolerance)</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;      {</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="keywordflow">if</span> (angle_tolerance &gt; 0)</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;          <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">cos_angle_tolerance_</a> = fabsf (cosf (angle_tolerance));</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;          <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">cos_angle_tolerance_</a> = -1.0f;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;      }</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span> setDistanceTolerance(<span class="keywordtype">float</span> distance_tolerance, <span class="keywordtype">bool</span> depth_dependent = <span class="keyword">false</span>)</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;      {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a> = distance_tolerance;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a> &lt; 0)</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;          <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">distance_dependent_</a> = depth_dependent;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">distance_dependent_</a>)</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;          <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a> *= <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a>;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;      }</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160; </div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a362926b64c94d53abb6363f9b916df63">  226</a></span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a362926b64c94d53abb6363f9b916df63">useDepthAsDistance</a>(<span class="keywordtype">bool</span> enable)</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;      {</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">use_depth_as_distance_</a> = enable;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;      }</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">  233</a></span>&#160;      <span class="keywordtype">float</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">max_edge_length_a_</a>;</div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">  235</a></span>&#160;      <span class="keywordtype">float</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">max_edge_length_b_</a>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">  237</a></span>&#160;      <span class="keywordtype">float</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">max_edge_length_c_</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">  239</a></span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">max_edge_length_set_</a>;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a6d92b9a626f91f9bd03ca1e2358b0309">  242</a></span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6d92b9a626f91f9bd03ca1e2358b0309">max_edge_length_dist_dependent_</a>;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a86b0075b9460f81f18f7520da3b7665f">  245</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a86b0075b9460f81f18f7520da3b7665f">triangle_pixel_size_rows_</a>;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a572925f0cf2df7d64d36d97bd48fc69d">  248</a></span>&#160;      <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a572925f0cf2df7d64d36d97bd48fc69d">triangle_pixel_size_columns_</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#ade2419a6deb03a67958f147fd6862329">  251</a></span>&#160;      TriangulationType <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ade2419a6deb03a67958f147fd6862329">triangulation_type_</a>;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">  254</a></span>&#160;      Eigen::Vector3f <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">viewpoint_</a>;</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a95887dcb79e61e9f9080f03052d6b95e">  257</a></span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a95887dcb79e61e9f9080f03052d6b95e">store_shadowed_faces_</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160; </div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">  260</a></span>&#160;      <span class="keywordtype">float</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">cos_angle_tolerance_</a>;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">  263</a></span>&#160;      <span class="keywordtype">float</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a>;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">  266</a></span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">distance_dependent_</a>;</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">  270</a></span>&#160;      <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">use_depth_as_distance_</a>;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160; </div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a5fee6d23c77a2e4f193d2707d94ca2cd">reconstructPolygons</a> (std::vector&lt;pcl::Vertices&gt;&amp; polygons);</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;      <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#af66bbf2fa9e28aebd2af2e308bf140da">performReconstruction</a> (std::vector&lt;pcl::Vertices&gt; &amp;polygons);</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#af66bbf2fa9e28aebd2af2e308bf140da">performReconstruction</a> (<a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;output);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a0a851476fa47e32fb39105d88000552f">  303</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a0a851476fa47e32fb39105d88000552f">addTriangle</a> (<span class="keywordtype">int</span> a, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> c, <span class="keywordtype">int</span> idx, std::vector&lt;pcl::Vertices&gt;&amp; polygons)</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;      {</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        assert (idx &lt; <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span> (polygons.size ()));</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        polygons[idx].vertices.resize (3);</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        polygons[idx].vertices[0] = a;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        polygons[idx].vertices[1] = b;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        polygons[idx].vertices[2] = c;</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;      }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a5d65d8b8d6f87d86ce99237d7be43838">  321</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a5d65d8b8d6f87d86ce99237d7be43838">addQuad</a> (<span class="keywordtype">int</span> a, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> c, <span class="keywordtype">int</span> d, <span class="keywordtype">int</span> idx, std::vector&lt;pcl::Vertices&gt;&amp; polygons)</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;      {</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        assert (idx &lt; <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span> (polygons.size ()));</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        polygons[idx].vertices.resize (4);</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        polygons[idx].vertices[0] = a;</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;        polygons[idx].vertices[1] = b;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;        polygons[idx].vertices[2] = c;</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;        polygons[idx].vertices[3] = d;</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;      }</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160; </div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#afdec586da3f519619384964dd61e8ef6">  340</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#afdec586da3f519619384964dd61e8ef6">resetPointData</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;point_index, <a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;mesh, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;value = 0.0f,</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;                      <span class="keywordtype">int</span> field_x_idx = 0, <span class="keywordtype">int</span> field_y_idx = 1, <span class="keywordtype">int</span> field_z_idx = 2)</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;      {</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="keywordtype">float</span> new_value = value;</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        memcpy (&amp;mesh.cloud.data[point_index * mesh.cloud.point_step + mesh.cloud.fields[field_x_idx].offset], &amp;new_value, sizeof (<span class="keywordtype">float</span>));</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        memcpy (&amp;mesh.cloud.data[point_index * mesh.cloud.point_step + mesh.cloud.fields[field_y_idx].offset], &amp;new_value, sizeof (<span class="keywordtype">float</span>));</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        memcpy (&amp;mesh.cloud.data[point_index * mesh.cloud.point_step + mesh.cloud.fields[field_z_idx].offset], &amp;new_value, sizeof (<span class="keywordtype">float</span>));</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;      }</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">  354</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<span class="keyword">const</span> PointInT&amp; point_a, <span class="keyword">const</span> PointInT&amp; point_b)</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;      {</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;        <span class="keywordtype">bool</span> valid = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        Eigen::Vector3f dir_a = <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">viewpoint_</a> - point_a.getVector3fMap ();</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        Eigen::Vector3f dir_b = point_b.getVector3fMap () - point_a.getVector3fMap ();</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;        <span class="keywordtype">float</span> distance_to_points = dir_a.norm ();</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;        <span class="keywordtype">float</span> distance_between_points = dir_b.norm ();</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160; </div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">cos_angle_tolerance_</a> &gt; 0)</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        {</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;          <span class="keywordtype">float</span> cos_angle = dir_a.dot (dir_b) / (distance_to_points*distance_between_points);</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;          <span class="keywordflow">if</span> (cos_angle != cos_angle)</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            cos_angle = 1.0f;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;          <span class="keywordtype">bool</span> check_angle = fabs (cos_angle) &gt;= <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">cos_angle_tolerance_</a>;</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;          <span class="keywordtype">bool</span> check_distance = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;          <span class="keywordflow">if</span> (check_angle &amp;&amp; (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a> &gt; 0))</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;          {</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;            <span class="keywordtype">float</span> dist_thresh = <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">distance_tolerance_</a>;</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">distance_dependent_</a>)</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;            {</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;              <span class="keywordtype">float</span> d = distance_to_points;</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;              <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">use_depth_as_distance_</a>)</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;                d = std::max(point_a.z, point_b.z);</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;              dist_thresh *= d*d;</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;              dist_thresh *= dist_thresh;  <span class="comment">// distance_tolerance_ is already squared if distance_dependent_ is false.</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;            }</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;            check_distance = (distance_between_points &gt; dist_thresh);</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;          }</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;          valid = !(check_angle &amp;&amp; check_distance);</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        }</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        <span class="comment">// check if max. edge length is not exceeded</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">max_edge_length_set_</a>)</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;        {</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;          <span class="keywordtype">float</span> dist = (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">use_depth_as_distance_</a> ? std::max(point_a.z, point_b.z) : distance_to_points);</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;          <span class="keywordtype">float</span> dist_thresh = <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">max_edge_length_a_</a>;</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;          <span class="keywordflow">if</span> (fabs(<a class="code" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">max_edge_length_b_</a>) &gt; std::numeric_limits&lt;float&gt;::min())</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;            dist_thresh += <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">max_edge_length_b_</a> * dist;</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;          <span class="keywordflow">if</span> (fabs(<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">max_edge_length_c_</a>) &gt; std::numeric_limits&lt;float&gt;::min())</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;            dist_thresh += <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">max_edge_length_c_</a> * dist * dist;</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;          valid = (distance_between_points &lt;= dist_thresh);</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        }</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="keywordflow">return</span> !valid;</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;      }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a6430900529656933de06c2cc84554c15">  408</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a6430900529656933de06c2cc84554c15">isValidTriangle</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>&amp; a, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; b, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; c)</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;      {</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[a])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[b])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[c])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;      }</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160; </div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#aac570e3fcd088203cfabe6b929b895eb">  422</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#aac570e3fcd088203cfabe6b929b895eb">isShadowedTriangle</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>&amp; a, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; b, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; c)</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;      {</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[a], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[b])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[b], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[c])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[c], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[a])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;      }</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; </div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a26da7a6e9d9198f3a89296a6a9339f4d">  437</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a26da7a6e9d9198f3a89296a6a9339f4d">isValidQuad</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>&amp; a, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; b, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; c, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; d)</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;      {</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[a])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[b])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[c])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;        <span class="keywordflow">if</span> (!pcl::isFinite (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[d])) <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;      }</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; </div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="classpcl_1_1_organized_fast_mesh.html#a0b6e21a32c58df67445d2ce10f44e257">  453</a></span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a0b6e21a32c58df67445d2ce10f44e257">isShadowedQuad</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>&amp; a, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; b, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; c, <span class="keyword">const</span> <span class="keywordtype">int</span>&amp; d)</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;      {</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[a], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[b])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[b], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[c])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[c], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[d])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">isShadowed</a> (<a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[d], <a class="code" href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">input_</a>-&gt;points[a])) <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;      }</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160; </div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a370af0c043d7324913d00721461fede0">makeQuadMesh</a> (std::vector&lt;pcl::Vertices&gt;&amp; polygons);</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160; </div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#a104c0c0b8d68a948db79edda93a6abf5">makeRightCutMesh</a> (std::vector&lt;pcl::Vertices&gt;&amp; polygons);</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160; </div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#af5df7632921a3a688a1b896f18199a3d">makeLeftCutMesh</a> (std::vector&lt;pcl::Vertices&gt;&amp; polygons);</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;      <a class="code" href="classpcl_1_1_organized_fast_mesh.html#ae78e35fa74dac20aa4705cd793f00d1d">makeAdaptiveCutMesh</a> (std::vector&lt;pcl::Vertices&gt;&amp; polygons);</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;  };</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;}</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="preprocessor">#ifdef PCL_NO_PRECOMPILE</span></div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;<span class="preprocessor">#include &lt;pcl/surface/impl/organized_fast_mesh.hpp&gt;</span></div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; </div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">// PCL_SURFACE_ORGANIZED_FAST_MESH_H_</span></div>
<div class="ttc" id="aangles_8h_html"><div class="ttname"><a href="angles_8h.html">angles.h</a></div></div>
<div class="ttc" id="aclasspcl_1_1_mesh_construction_html"><div class="ttname"><a href="classpcl_1_1_mesh_construction.html">pcl::MeshConstruction</a></div><div class="ttdoc">MeshConstruction represents a base surface reconstruction class. All mesh constructing methods that t...</div><div class="ttdef"><b>Definition:</b> reconstruction.h:189</div></div>
<div class="ttc" id="aclasspcl_1_1_mesh_construction_html_af5ff8eafba1264fa83cdadd196b37361"><div class="ttname"><a href="classpcl_1_1_mesh_construction.html#af5ff8eafba1264fa83cdadd196b37361">pcl::MeshConstruction::check_tree_</a></div><div class="ttdeci">bool check_tree_</div><div class="ttdoc">A flag specifying whether or not the derived reconstruction algorithm needs the search object tree.</div><div class="ttdef"><b>Definition:</b> reconstruction.h:230</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html">pcl::OrganizedFastMesh</a></div><div class="ttdoc">Simple triangulation/surface reconstruction for organized point clouds. Neighboring points (pixels in...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:66</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a0a851476fa47e32fb39105d88000552f"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a0a851476fa47e32fb39105d88000552f">pcl::OrganizedFastMesh::addTriangle</a></div><div class="ttdeci">void addTriangle(int a, int b, int c, int idx, std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Add a new triangle to the current polygon mesh</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:303</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a0b6e21a32c58df67445d2ce10f44e257"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a0b6e21a32c58df67445d2ce10f44e257">pcl::OrganizedFastMesh::isShadowedQuad</a></div><div class="ttdeci">bool isShadowedQuad(const int &amp;a, const int &amp;b, const int &amp;c, const int &amp;d)</div><div class="ttdoc">Check if a triangle is shadowed.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:453</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a104c0c0b8d68a948db79edda93a6abf5"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a104c0c0b8d68a948db79edda93a6abf5">pcl::OrganizedFastMesh::makeRightCutMesh</a></div><div class="ttdeci">void makeRightCutMesh(std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Create a right cut mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.hpp:127</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a1a729eb83f0714852e38744579aba65a"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a1a729eb83f0714852e38744579aba65a">pcl::OrganizedFastMesh::distance_tolerance_</a></div><div class="ttdeci">float distance_tolerance_</div><div class="ttdoc">distance tolerance for filtering out shadowed/occluded edges</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:263</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a26da7a6e9d9198f3a89296a6a9339f4d"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a26da7a6e9d9198f3a89296a6a9339f4d">pcl::OrganizedFastMesh::isValidQuad</a></div><div class="ttdeci">bool isValidQuad(const int &amp;a, const int &amp;b, const int &amp;c, const int &amp;d)</div><div class="ttdoc">Check if a quad is valid.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:437</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a35a2411ca7cdc90058674c07a6aa8573"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a35a2411ca7cdc90058674c07a6aa8573">pcl::OrganizedFastMesh::use_depth_as_distance_</a></div><div class="ttdeci">bool use_depth_as_distance_</div><div class="ttdoc">flag whether or not the points' depths are used instead of measured distances (points' distances to t...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:270</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a362926b64c94d53abb6363f9b916df63"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a362926b64c94d53abb6363f9b916df63">pcl::OrganizedFastMesh::useDepthAsDistance</a></div><div class="ttdeci">void useDepthAsDistance(bool enable)</div><div class="ttdoc">Use the points' depths (z-coordinates) instead of measured distances (points' distances to the viewpo...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:226</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a370af0c043d7324913d00721461fede0"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a370af0c043d7324913d00721461fede0">pcl::OrganizedFastMesh::makeQuadMesh</a></div><div class="ttdeci">void makeQuadMesh(std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Create a quad mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.hpp:90</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a43611c421b22a850a992bd97c71bb230"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a43611c421b22a850a992bd97c71bb230">pcl::OrganizedFastMesh::max_edge_length_b_</a></div><div class="ttdeci">float max_edge_length_b_</div><div class="ttdoc">max length of edge, scalar component</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:235</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a4b106586bcaa65b4b0b7cfdb9c5e3ec4"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a4b106586bcaa65b4b0b7cfdb9c5e3ec4">pcl::OrganizedFastMesh::viewpoint_</a></div><div class="ttdeci">Eigen::Vector3f viewpoint_</div><div class="ttdoc">Viewpoint from which the point cloud has been acquired (in the same coordinate frame as the data).</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:254</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a4bd9daace3f6b7e61dacac8486db32da"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a4bd9daace3f6b7e61dacac8486db32da">pcl::OrganizedFastMesh::cos_angle_tolerance_</a></div><div class="ttdeci">float cos_angle_tolerance_</div><div class="ttdoc">(Cosine of the) angle tolerance used when checking whether or not an edge between two points is shado...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:260</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a572925f0cf2df7d64d36d97bd48fc69d"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a572925f0cf2df7d64d36d97bd48fc69d">pcl::OrganizedFastMesh::triangle_pixel_size_columns_</a></div><div class="ttdeci">int triangle_pixel_size_columns_</div><div class="ttdoc">size of triangle edges (in pixels) for iterating over columns</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:248</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a574d4db8bcd96173c6b48eb7bc49ad4f"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a574d4db8bcd96173c6b48eb7bc49ad4f">pcl::OrganizedFastMesh::setViewpoint</a></div><div class="ttdeci">void setViewpoint(const Eigen::Vector3f &amp;viewpoint)</div><div class="ttdoc">Set the viewpoint from where the input point cloud has been acquired.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:178</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a58ce299182a05909db539a1d84f93ee5"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a58ce299182a05909db539a1d84f93ee5">pcl::OrganizedFastMesh::storeShadowedFaces</a></div><div class="ttdeci">void storeShadowedFaces(bool enable)</div><div class="ttdoc">Store shadowed faces or not.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:193</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a58e1b0c042232642a82ec8b27d90386b"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a58e1b0c042232642a82ec8b27d90386b">pcl::OrganizedFastMesh::OrganizedFastMesh</a></div><div class="ttdeci">OrganizedFastMesh()</div><div class="ttdoc">Constructor. Triangulation type defaults to QUAD_MESH.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:87</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a5baedcee7cdab78236ce2027a8137cb7"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a5baedcee7cdab78236ce2027a8137cb7">pcl::OrganizedFastMesh::~OrganizedFastMesh</a></div><div class="ttdeci">virtual ~OrganizedFastMesh()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:107</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a5d65d8b8d6f87d86ce99237d7be43838"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a5d65d8b8d6f87d86ce99237d7be43838">pcl::OrganizedFastMesh::addQuad</a></div><div class="ttdeci">void addQuad(int a, int b, int c, int d, int idx, std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Add a new quad to the current polygon mesh</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:321</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a5fee6d23c77a2e4f193d2707d94ca2cd"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a5fee6d23c77a2e4f193d2707d94ca2cd">pcl::OrganizedFastMesh::reconstructPolygons</a></div><div class="ttdeci">void reconstructPolygons(std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Perform the actual polygonal reconstruction.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.hpp:76</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a6430900529656933de06c2cc84554c15"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a6430900529656933de06c2cc84554c15">pcl::OrganizedFastMesh::isValidTriangle</a></div><div class="ttdeci">bool isValidTriangle(const int &amp;a, const int &amp;b, const int &amp;c)</div><div class="ttdoc">Check if a triangle is valid.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:408</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a6c068309f5707a054eefe8c9b45eeffd"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a6c068309f5707a054eefe8c9b45eeffd">pcl::OrganizedFastMesh::max_edge_length_a_</a></div><div class="ttdeci">float max_edge_length_a_</div><div class="ttdoc">max length of edge, scalar component</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:233</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a6d92b9a626f91f9bd03ca1e2358b0309"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a6d92b9a626f91f9bd03ca1e2358b0309">pcl::OrganizedFastMesh::max_edge_length_dist_dependent_</a></div><div class="ttdeci">bool max_edge_length_dist_dependent_</div><div class="ttdoc">flag whether or not max edge length is distance dependent.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:242</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a6ed920ebda18de0896470da943bc7cc5"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a6ed920ebda18de0896470da943bc7cc5">pcl::OrganizedFastMesh::setTriangulationType</a></div><div class="ttdeci">void setTriangulationType(TriangulationType type)</div><div class="ttdoc">Set the triangulation type (see TriangulationType)</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:170</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a745e7170a11c9860dd8920e8d212db07"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a745e7170a11c9860dd8920e8d212db07">pcl::OrganizedFastMesh::setTrianglePixelSize</a></div><div class="ttdeci">void setTrianglePixelSize(int triangle_size)</div><div class="ttdoc">Set the edge length (in pixels) used for constructing the fixed mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:139</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a84e3fe5b06ba7b029a02d2030e32616d"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a84e3fe5b06ba7b029a02d2030e32616d">pcl::OrganizedFastMesh::max_edge_length_set_</a></div><div class="ttdeci">bool max_edge_length_set_</div><div class="ttdoc">flag whether or not edges are limited in length</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:239</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a86b0075b9460f81f18f7520da3b7665f"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a86b0075b9460f81f18f7520da3b7665f">pcl::OrganizedFastMesh::triangle_pixel_size_rows_</a></div><div class="ttdeci">int triangle_pixel_size_rows_</div><div class="ttdoc">size of triangle edges (in pixels) for iterating over rows.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:245</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a87789a49d6f735267bda67f6701ad206"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a87789a49d6f735267bda67f6701ad206">pcl::OrganizedFastMesh::setMaxEdgeLength</a></div><div class="ttdeci">void setMaxEdgeLength(float a, float b=0.0f, float c=0.0f)</div><div class="ttdoc">Set a maximum edge length. Using not only the scalar a, but also b and c, allows for using a distance...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:117</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a8c9540f2e18be8d72d6fb11d912bd22c"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a8c9540f2e18be8d72d6fb11d912bd22c">pcl::OrganizedFastMesh::setTrianglePixelSizeRows</a></div><div class="ttdeci">void setTrianglePixelSizeRows(int triangle_size)</div><div class="ttdoc">Set the edge length (in pixels) used for iterating over rows when constructing the fixed mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:150</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a8eda71fcd93976b2c8504f3822eb67eb"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a8eda71fcd93976b2c8504f3822eb67eb">pcl::OrganizedFastMesh::distance_dependent_</a></div><div class="ttdeci">bool distance_dependent_</div><div class="ttdoc">flag whether or not distance_tolerance_ is distance dependent (multiplied by the squared distance to ...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:266</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a95887dcb79e61e9f9080f03052d6b95e"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a95887dcb79e61e9f9080f03052d6b95e">pcl::OrganizedFastMesh::store_shadowed_faces_</a></div><div class="ttdeci">bool store_shadowed_faces_</div><div class="ttdoc">Whether or not shadowed faces are stored, e.g., for exploration</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:257</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_a9baf96b8397f2dd15d797e594b9e4240"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#a9baf96b8397f2dd15d797e594b9e4240">pcl::OrganizedFastMesh::getViewpoint</a></div><div class="ttdeci">const Eigen::Vector3f &amp; getViewpoint() const</div><div class="ttdoc">Get the viewpoint from where the input point cloud has been acquired.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:184</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_aac570e3fcd088203cfabe6b929b895eb"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#aac570e3fcd088203cfabe6b929b895eb">pcl::OrganizedFastMesh::isShadowedTriangle</a></div><div class="ttdeci">bool isShadowedTriangle(const int &amp;a, const int &amp;b, const int &amp;c)</div><div class="ttdoc">Check if a triangle is shadowed.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:422</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_ab0807e04e362b70a33cdec9e54de1999"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#ab0807e04e362b70a33cdec9e54de1999">pcl::OrganizedFastMesh::max_edge_length_c_</a></div><div class="ttdeci">float max_edge_length_c_</div><div class="ttdoc">max length of edge, scalar component</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:237</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_ab8fa19a842373ed2732360c02344d584"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#ab8fa19a842373ed2732360c02344d584">pcl::OrganizedFastMesh::setTrianglePixelSizeColumns</a></div><div class="ttdeci">void setTrianglePixelSizeColumns(int triangle_size)</div><div class="ttdoc">Set the edge length (in pixels) used for iterating over columns when constructing the fixed mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:160</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_ac2420fca246de67861071dadf39d7e63"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#ac2420fca246de67861071dadf39d7e63">pcl::OrganizedFastMesh::setAngleTolerance</a></div><div class="ttdeci">void setAngleTolerance(float angle_tolerance)</div><div class="ttdoc">Set the angle tolerance used for checking whether or not an edge is occluded. Standard values are 5de...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:204</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_ad27fb6b497795338f4eab1d7103dfb1d"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#ad27fb6b497795338f4eab1d7103dfb1d">pcl::OrganizedFastMesh::isShadowed</a></div><div class="ttdeci">bool isShadowed(const PointInT &amp;point_a, const PointInT &amp;point_b)</div><div class="ttdoc">Check if a point is shadowed by another point</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:354</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_ade2419a6deb03a67958f147fd6862329"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#ade2419a6deb03a67958f147fd6862329">pcl::OrganizedFastMesh::triangulation_type_</a></div><div class="ttdeci">TriangulationType triangulation_type_</div><div class="ttdoc">Type of meshing scheme (quads vs. triangles, left cut vs. right cut ...</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:251</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_ae78e35fa74dac20aa4705cd793f00d1d"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#ae78e35fa74dac20aa4705cd793f00d1d">pcl::OrganizedFastMesh::makeAdaptiveCutMesh</a></div><div class="ttdeci">void makeAdaptiveCutMesh(std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Create an adaptive cut mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.hpp:209</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_af5df7632921a3a688a1b896f18199a3d"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#af5df7632921a3a688a1b896f18199a3d">pcl::OrganizedFastMesh::makeLeftCutMesh</a></div><div class="ttdeci">void makeLeftCutMesh(std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Create a left cut mesh.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.hpp:168</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_af66bbf2fa9e28aebd2af2e308bf140da"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#af66bbf2fa9e28aebd2af2e308bf140da">pcl::OrganizedFastMesh::performReconstruction</a></div><div class="ttdeci">virtual void performReconstruction(std::vector&lt; pcl::Vertices &gt; &amp;polygons)</div><div class="ttdoc">Create the surface.</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.hpp:69</div></div>
<div class="ttc" id="aclasspcl_1_1_organized_fast_mesh_html_afdec586da3f519619384964dd61e8ef6"><div class="ttname"><a href="classpcl_1_1_organized_fast_mesh.html#afdec586da3f519619384964dd61e8ef6">pcl::OrganizedFastMesh::resetPointData</a></div><div class="ttdeci">void resetPointData(const int &amp;point_index, pcl::PolygonMesh &amp;mesh, const float &amp;value=0.0f, int field_x_idx=0, int field_y_idx=1, int field_z_idx=2)</div><div class="ttdoc">Set (all) coordinates of a particular point to the specified value</div><div class="ttdef"><b>Definition:</b> organized_fast_mesh.h:340</div></div>
<div class="ttc" id="aclasspcl_1_1_p_c_l_base_html_a09c70d8e06e3fb4f07903fe6f8d67869"><div class="ttname"><a href="classpcl_1_1_p_c_l_base.html#a09c70d8e06e3fb4f07903fe6f8d67869">pcl::PCLBase&lt; PointInT &gt;::input_</a></div><div class="ttdeci">PointCloudConstPtr input_</div><div class="ttdoc">The input point cloud dataset.</div><div class="ttdef"><b>Definition:</b> pcl_base.h:150</div></div>
<div class="ttc" id="agroup__common_html_ga25b0ce695e2a10abb0130bcb5cf90eb6"><div class="ttname"><a href="group__common.html#ga25b0ce695e2a10abb0130bcb5cf90eb6">pcl::deg2rad</a></div><div class="ttdeci">float deg2rad(float alpha)</div><div class="ttdoc">Convert an angle from degrees to radians</div><div class="ttdef"><b>Definition:</b> angles.hpp:67</div></div>
<div class="ttc" id="astructpcl_1_1_polygon_mesh_html"><div class="ttname"><a href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a></div><div class="ttdef"><b>Definition:</b> PolygonMesh.h:16</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_3eca864c65823895cb378d0a822acbce.html">surface</a></li><li class="navelem"><a class="el" href="dir_3f3c04b1471cb7c6ed159d82d5dbd2e2.html">include</a></li><li class="navelem"><a class="el" href="dir_c085629c2ec3cefd048e595d13476517.html">pcl</a></li><li class="navelem"><a class="el" href="dir_b042217bdec4068b97400d7bbc365877.html">surface</a></li><li class="navelem"><b>organized_fast_mesh.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
